package pattern.strategy;

public class Schooling {
    Vehicle vehicle;

    public Schooling(Vehicle vehicle) {
        this.vehicle = vehicle;
    }

    public void goSchool() {
        vehicle.run();
    }
}
